Change domain

Brightcells 7 年之前
父节点
当前提交
a68f868c02
共有 5 个文件被更改,包括 5 次插入5 次删除
  1. 1 1
      course/settings.py
  2. 1 1
      page/templates/page/course_code.html
  3. 1 1
      page/templates/page/course_info.html
  4. 1 1
      page/templates/page/course_list.html
  5. 1 1
      requirements.txt

+ 1 - 1
course/settings.py

@@ -213,7 +213,7 @@ WECHAT_UNIQUE_IDENTIFICATION = 'unionid'
213 213
 # Token 错误重授权设置
214 214
 TOKEN_CHECK_KEY = 'user_id'
215 215
 WECHAT_OAUTH2_REDIRECT_ENTRY = ''
216
-WECHAT_OAUTH2_REDIRECT_URL = 'http://pai.ai/we/o?redirect_url=http://xfoto.com.cn/api/3rd/or'
216
+WECHAT_OAUTH2_REDIRECT_URL = 'http://pai.ai/we/o?redirect_url=http://course.xfoto.com.cn/api/3rd/or'
217 217
 
218 218
 # 错误信息邮件设置
219 219
 # Email address that error messages come from.

+ 1 - 1
page/templates/page/course_code.html

@@ -125,7 +125,7 @@
125 125
         <script>
126 126
             V.initWxData({
127 127
                 imgUrl: 'http://pai.ai/static/pai2/img/paiai_96_96.png',
128
-                link: 'http://pai.ai/we/o?redirect_url=http://xfoto.com.cn/api/3rd/or',
128
+                link: 'http://pai.ai/we/o?redirect_url=http://course.xfoto.com.cn/api/3rd/or',
129 129
                 desc: '兰海说成长',
130 130
                 title: '兰海说成长',
131 131
                 timeLine: ''

+ 1 - 1
page/templates/page/course_info.html

@@ -123,7 +123,7 @@
123 123
         <script>
124 124
             V.initWxData({
125 125
                 imgUrl: 'http://pai.ai/static/pai2/img/paiai_96_96.png',
126
-                link: 'http://pai.ai/we/o?redirect_url=http://xfoto.com.cn/api/3rd/or',
126
+                link: 'http://pai.ai/we/o?redirect_url=http://course.xfoto.com.cn/api/3rd/or',
127 127
                 desc: '兰海说成长',
128 128
                 title: '兰海说成长',
129 129
                 timeLine: ''

+ 1 - 1
page/templates/page/course_list.html

@@ -67,7 +67,7 @@
67 67
         <script>
68 68
             V.initWxData({
69 69
                 imgUrl: 'http://pai.ai/static/pai2/img/paiai_96_96.png',
70
-                link: 'http://pai.ai/we/o?redirect_url=http://xfoto.com.cn/api/3rd/or',
70
+                link: 'http://pai.ai/we/o?redirect_url=http://course.xfoto.com.cn/api/3rd/or',
71 71
                 desc: '兰海说成长',
72 72
                 title: '兰海说成长',
73 73
                 timeLine: ''

+ 1 - 1
requirements.txt

@@ -18,7 +18,7 @@ django-multidomain==1.1.4
18 18
 django-paginator2==1.0.3
19 19
 django-rlog==1.0.7
20 20
 django-shortuuidfield==0.1.3
21
-django-six==1.0.2
21
+django-six==1.0.4
22 22
 django-uniapi==1.0.0
23 23
 django-we==1.0.14
24 24
 djangorestframework==3.7.0